home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / flcs.max < prev    next >
Text File  |  1979-12-31  |  3KB  |  102 lines

  1. # flcs.max
  2. #
  3. # This is part of the flight simulator 'fly8'.
  4. # Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5.  
  6. # Example of button usage. This is for a stand alone FLCS. This file will
  7. # be part of the full macro file that also defines keyboard keys (normally
  8. # fly.max).
  9.  
  10. # Let us define the trigger (button 0) as the 'fire' function. I prefer to
  11. # use the full-depress (btn 0) for this rather than the ligher 1st detent
  12. # (btn 8).
  13.  
  14. Def Btn 0    F1
  15.  
  16. # we should leave this button non-debounced ('d=0') in the stick options so
  17. # that this button will produce a repeating action, and you won't have to
  18. # press/release the button for each shot.
  19.  
  20. # button '1' is defined further down.
  21.  
  22. # we have 4 buttons, so we can use the rest like this:
  23.  
  24. Def Btn 2    w        # red index: toggle weapon
  25. Def Btn 3    +        # red pinky: speed brakes (momentary)
  26. Def Brl 3    +
  27.  
  28.  
  29. # use the main hat (top grey) for power management, since we do not have
  30. # a throttle on this stick.
  31.  
  32. Def Btn 4    9        # up    power up
  33. Def Btn 5    .        # right    100%, then AB power
  34. Def Btn 6    3        # down    power down
  35. Def Btn 7    0        # left    idle power
  36.  
  37. # and let's put speed brakes control on the red paddle switch:
  38.  
  39. Def Btn 9    +        # engage  Speed Breaks
  40. Def Brl 9    +        # release Speed Breaks
  41.  
  42. # So now we can quickly set the throttle, and if we neede to slow down in
  43. # a hurry then we can pull the red paddle with the little finger. This looks
  44. # nice but is not as comfortable as I would like. Basically I find myself
  45. # either resting against the bottom platform, where the top hat is a tad too
  46. # far, or I hold the stick high and the bottom red buttons are out of reach.
  47. # Also, I don't seem to find a good grip where the buttons are out of risk
  48. # of accidental presses - there is just not enough rest space.
  49.  
  50.  
  51. # set hat 2 (left black) for targeting functions. This will allow us to
  52. # manage the radar and related features.
  53.  
  54. Def Btn i    f        # up    toggle radar acquisition mode
  55. Def Btn j    Sp        # right    radar target reselect
  56. Def Btn k    r        # down    radar on/off
  57. Def Btn l    l        # left    target radar lock on/off
  58.  
  59.  
  60. # set hat 3 (right black) for view functions. It shows a view to either of
  61. # four direction while the hat is held.
  62.  
  63. Def Btn m    Up Up Up Up Up
  64. Def Brl m    *
  65. Def Btn n    Right Right Right Right Right
  66. Def Brl n    *
  67. Def Btn o    Down Down Down Down Down
  68. Def Brl o    *
  69. Def Btn p    Left Left Left Left Left
  70. Def Brl p    *
  71.  
  72. # use S1 (top red button) to switch alternate view momentarily. This allows
  73. # glimpsing at the radar map. Use hat 4 to swap the view for a longer
  74. # period.
  75.  
  76. Def Btn 1    v        # toggle view
  77. Def Brl 1    v        # toggle view
  78.  
  79.  
  80. # set hat 4 (low grey) for view/zoom functions
  81.  
  82. Def Btn q    F5        # up    zoom in
  83. Def Btn r    v        # right    swap view
  84. Def Btn s    F6        # down    zoom out
  85. Def Btn t    i        # left    intel mode (momentary)
  86. Def Brl t    i
  87.  
  88.  
  89. # Note how button 'f' (hat left) engages the speed brakes on press but
  90. # then retracts it on release. You must define this button to have
  91. # a release function (the default). You may also want buttons 4 and 6 to
  92. # have continuous operation. 
  93. # In summary, the pointer options should be ':d=046'.
  94.  
  95. # In practice it is safe to define ALL buttons for 'release' action
  96. # since undefined keys will be ignores. However it is wasteful
  97. # to make a key continuous ('d=...') when it is not needed.
  98.  
  99. # You must program the FLCS with fly8.b50 in order to use it in this way.
  100. # You can, of course, program the FLCS to directly generate any Fly8
  101. # commands that you wish without the use of this .max file.
  102.